package com.design.pattern.abstraceFactory;

import com.design.pattern.abstraceFactory.ingredient.Dough;
import com.design.pattern.abstraceFactory.ingredient.Sauce;
import com.design.pattern.abstraceFactory.ingredient.Veggies;

public abstract class Pizza {

    String name;
    Dough dough;
    Sauce sauce;
    Veggies veggies[];

    abstract void prepare();

    void bake(){
        System.out.println("Bake for 25 minutes at 350");
    }

    void cut(){
        System.out.println("Cutting the pizza into digonal slices");
    }

    void box(){
        System.out.println("place pizza in official pizzaStore box");
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}